package com.yk.airline.service.analysisdata.impl;


import com.yk.airline.dao.analysisdata.api.IAnalysisDataDao;
import com.yk.airline.model.AnalysisDataModel;
import com.yk.airline.model.CaptureMarkModel;
import com.yk.airline.model.ExportExcelModel;
import com.yk.airline.service.analysisdata.api.IAnalysisDataService;
import com.yk.airline.util.AnalysisDataModelComparator;
import com.yk.exportExcel.entity.Template;
import com.yk.exportExcel.manage.TemplateManage;
import org.apache.poi.ss.usermodel.Workbook;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.io.OutputStream;
import java.util.*;

/**
 * Project Name:airlinecrawler
 * File Name:AnalysisDataServiceImpl
 * Package Name:com.yk.airline.service.analysisdata.impl
 * Date:2018/1/31 17:42
 * Author:dengtianjia
 * Description:
 * Copyright (c) 2018, 重庆云凯科技有限公司 All Rights Reserved.
 */
@Service("analysisDataService")
public class AnalysisDataServiceImpl implements IAnalysisDataService{

    @Resource(name = "analysisDataDao")
    private IAnalysisDataDao analysisDataDao;

    @Override
    public List<AnalysisDataModel> findAll() {
        return analysisDataDao.findAll();
    }

    @Override
    public int findTotalCount() {
        return analysisDataDao.findTotalCount();
    }


}
